// import cityjs from "@/pages/city/cityjs.js";
const state = {
	city: {},
	wz: {},
	pt: [
		"免费WIFI",
		"空调休息室",
		"按摩室",
		"便利店",
		"洗车",
		"饮用水",
		"卫生间",
		"餐馆",
		"自动售货机",
		"地锁",
	],
	CcdSJEnddatas: {},
	kfutel: "400-8800-684",
	kfuteltest: "4008800684"
};
const getters = {};
const mutations = {
	setCity(state, city) {
		console.log(city, "city");
		state.city = city;
	},
	setWz(state, wz) {
		console.log(wz, "wz");
		state.wz = wz;
	},
	setCcdSJEnddatas(state, ddh) {
		state.CcdSJEnddatas[ddh] = true;
	}
};
const actions = {
	async getLocation({
		commit
	}) {
		let wz = await uni.$z.getLocation();

		commit("setWz", wz);
	},
};
export default {
	state,
	getters,
	mutations,
	actions,
};